The legality issue is not based on what banking method you use to deposit or withdraw money from a casino. If you live in a state in India where gambling on the internet is not prohibited, you can use whatever payment method you like.