Lured by a big, tech-savvy population, Google and other giants are sinking tens of billions into the Indian market.