While it may not be correct for the company to takes away 50% of your basic salary, my suggestion is that you collect from them whatever money you are getting and leave quietly. There is nothing much you can do. If you resist, you may not get even that.