Hi Mr. Ram,
Generally, 2 months notice, means continue to pay for the next 2 months.
Deposit cannot be used as rent retention, not sure whether this was captured in your TA.
Deposit can only retain for payment of damages, cleaning promised such as polishing of marble floor, aircon servicing, varnish for wooden floor, carpet dry cleaning, curtain dry cleaning etc.
It is difficult to provide an exhaustive list here and without understanding the TA signed.
Hope the above answer to your main concerns, but if there are more queries, please feel free to contact me at 90110636, or email: firstname.lastname@example.org if more information is needed.
I'll be glad to assist.
Any response to our answer do not reach us until we scroll through each and every queries posted daily.
The best way to get a follow up is to whatsapp or email us directly.