Well there are hotels near railway station for night stay but don't know if they are cheap or not. But if u are tight on budget for rest days too then you can opt for a dharamshala in the city which are quite affordable (cheap) & the atmosphere there is too gud.