Same as authoritarian states, e.g. Microsoft Bing and related social network linkedin works in China. Besides Europe and USA, China is one of the largest market for US and European technology companies.
Given the amount of censorship in India, treatment of its minority and arresting protestors without due trial for innocuous Facebook and twitter posts, because some politician or ruling administrations is hurt is not something one needs to be proud of.
As I said it's a slippery slope once the power is given to regime it's hard to get back.
Also just for information India's ranking on Internet Freedom for reference. [1]
[1] https://www.thehindu.com/news/national/freedom-in-the-world-...