Atul Agarawal has asked the right question.
If the Company is reasonably good, it may be worth it. If it's some sort of a fly-by-night company, it may not be worth it. If you don't like to name the company, make your own checks on their credibility with your known sources/references & then decide--and PL DON'T DEPEND ON JUST ONE/TWO references. Per se, the focus you need to have is this: will your career take off if you accept this opportunity. If yes, go ahead.
After all, the Company is trying to protect it's interests, given the present scenario of people joining & then quitting at their own pleasure--leaving the company with hefty salary & training bills.
2 yrs bond is not very high, but before signing it try to get in touch with the people who are working in same profile for the same company, ask them about the work culture over there, ask them how satisfy are they with work as well as with the immediate manager n all....Try to know as much as you can about there work culture.