As a foreigner, no one expects you to bow back, but it is definitely a nice and well-received gesture; and it doesn't mean you have to step up to the level of the “bow off”s you see between groups of friends or businesspeople in the street (straight back, 45° angle, bend from the waist).