Go for a shoe that matches the type of cycling you do. Mountain and recreational cycling shoes have sunken cleats and a flexible sole, so you can comfortably walk, too.
Competitive or performance cycling shoes have a stiff sole with cleats on the outside. In theory, the stiffer sole transfers more energy to the pedal. Some styles fall between casual riding and performance, and might be a good choice for an indoor cycling class.