There's been a recent surge in American companies investing in India primarily through Reliance Jio (owned by Mukhesh Ambani who's got a good connect with the current ruling Government). It's been spiking since the Anti-China sentiment led Buy and Use 'Made in India' cries. Government has even asked eCom Flipkart and Amazon to display Country of Origin for each product. With all these, This investment from Google see…
India's potential is limited only by the incompetence of Indian government (irrespective of who is in power). Too many shady powers being involved here pulling the string. India's data localization law was in fact lobbied for by the real estate firms as they wanted foreign companies to be arm twisted into investing in real estate in India. You can search news for who benefits from this sort of wasteful expenditure.
Cheap power and cooling might be a factor, but India is also building huge solar and wind capacities, and not to forget the solar alliance and cross border solar energy exchange/grid.