Planning water supply for basic services in rural areas