It's not illegal to use an internet phone in India. You must choose a Number from the Indian Disposable Phone Numbers, which are essentially Virtual Mobile Numbers. These disposable numbers can also be used for free recharge apps, referring individuals, and so on.