Hi, as per the agreement you have to serve the company for minimum 2 years and that condition only they have given employment to you.
2. Suppose you have not completed the 24 months period then it will become breach of the agreement and as per the terms of the agreement you have to pay the damages what ever you have agreed in the agreement.