India is becoming profoundly important both for smartphone makers like Apple and Samsung and for Web titans like Amazon, Facebook and Netflix