Mountain bike shoes work fine for road riding. They're much easier to walk in.
The main difference is in the weight of the shoe. MTB shoes typically have heavy soles between the tread and the mounting plate for the SPD cleat. Road shoes are typically just a thin plastic or CF sole, with minimal tread.