Passport hold by recruitment agency

I approached first recruitment agency through facebook advertisement and i sent bio data online and i got venue hall ticket and date and after two week other agency (second)also advertise through newspaper for same job but i go with first said agency before i donot know they are combinely doing business and i went interview & face book agent told they are same company and same owner and i signed job offer letter for uae and they hold my passport they told they need for embassy process and issued one receipt or affidavit receipt (second ) and they (second )sent me medical after medical they are making both agents drama they changed fees more and asking advance for processing visa i deny but they make visa without my oral permission now they trapped me because now they giving two options 1. If i am ok to go i need to pay 2 lakh rupees 2. Cancellation money 50000 for each agents Other wise they put my passport civil suit permanent injuction and i cannot go any country for any job because my passport with court procedures Andi complain to police they said this is a financial matter And agent saying they have right to hold passport And also complan to poe they they told agent have right to go musiff court But my question agent is allowed to collect passport of indian citizen or not And i ask embassy for e visa they donot need passport original And my passport ecnr also I donot know why they collect my passport If they need money for processing visa they can ask other agreement or cheque or something from me Why they collect my passport what is there intention if agency can keep passport for money intention or not And there answer also terrible if they release passport may be i try to escape from india without there service charge paying What is opinion about this case and what i do next i can lodge fir or not Or writ petition Or else Question : If they need compensation money they can sent legal notice with out holding my passport? Why they are submitting passport for musiff court That is legally wrong or right If they need they can sent notice through court for passport surrendering from my hand I am waiting for legal advise and i need support for forward But this agents both are registered but there operation way and marketing brutual How can i get justice this issue frequently and immediately Because they are known group of agency with money and legal support.