Landlord not giving back the security deposit

I had rented this property in Goa for Rs.18000 per month(exclusive of water bills and electricity) along with 2 other girls. The landlord took 3 months security deposit which amounted to Rs.54000, 18000 per person. After living there for almost 2 and a half months, we decided to shift to another apartment which was safer and more economical for us as we are just students. However, the landlords refused to give us our security deposit back, saying that they will give it to us only after 2 months and that it was mentioned at the time of possession of the house when only one of us was present, who doesn't even recall them saying something like that. Also, in the agreement, that the licensee had signed, there is no mention of them giving back our deposit after a period of 2 months. It only mentions that they will give us our deposit back when we vacate the house. Also, since we are just students, we had requested them to cut the last rent from our security deposit as we were out of funds. However, they refused to cut it from the deposit saying that rent money is given separately and not cut from the deposit. I'm just a student, who wants the assurance that I will get my security deposit back without any unnecessary money cut from it.