*notes that we do not have nuclear weapons that powerful, anyway*
How many nukes would it take to shatter a mountain? Sure, they're powerful. But mountains- and the kind of asteroids that could damage us- are a LOT bigger.
Anyway, from what I understand, our current weapons could definitely not destroy an asteroid of appreciable size, and probably couldn't change their momentum enough to make them miss us, either.