In villages, people don't get water all day. Mostly water is not delivered through pipes.
Houses usually have wells. Wells collect ground water and also gets filled through rain. There are also common wells and handpumps. Apart from this, they also depend on rivers.