Google is obtaining the EV charging station location information from various sources including the National Renewable Energy Laboratory (NREL) and the general public through the GeoEVSE Forum.
In short, energy is required to generate clean water and loads of water is used to generate energy (almost 40% of all fresh water withdrawals in the U.S., according to NREL).