Bitcoin is not a recognized currency and is currently being considered as black money. The problem is that many use bitcoins for gambling and illegal trades as one can open a bitcoin wallet without any proof. This is the major reason, it's considered illegal.
The reason for that is that it comes under consideration to be money laundering, so that makes it illegal