Lottery laws in the country vary from one state to another. 13 of 29 states in India have legalized lotto. However, Indians can play international lottery from India without any legal repercussions. There are no laws that prevent Indians from trying their luck at global jackpots using licensed sites.
This means that you can play games like Powerball and MegaMillions from anywhere in the country. All you have to do is ensure that you are playing through a trusted site that is licensed and regulated.