The eligibility criteria.

Can I apply to MIT, USA., after 2 years of my 12th?

You can try. Depends on if you did anything useful during the 2 years after your 12th. If you did some great things academically then even better.

It also depends on your overall performance in 9th 10th 11th and 12th.

Beware, it is very tough to get into MIT.