Ultimately, its best to have multiple pairs of shoes (road and mountain) and different pedals and different bikes to go with those shoes and pedals to fit every occasion.
In the meantime, it is inevitable that you will end up walking on your road shoes at some point, even for a short distance. Buy yourself some cleat covers. They are much cheaper to replace than a pair of cleats.