I agree with nair.padmaraj in that you should not panick or run, however staring in the eyes is very intimidating in such a situation & is directly challenging to any animal. Stand your ground, as in keep walking straight with your head held high, this will give an aura of confidence & superiority over the dogs. Avoid eye contact to the point of staring, but don't be afraid of glancing them in the eye as this shows you have acknowledged their presence, yet you show no fear. Remember dogs 'smell' fear & any lack of confidence in your body language will be picked up straight away, so just be confident with no agression in mind!
How to react to dogs attacking person when riding a two wheeler.? they just jump from nowhere and we tend to slow down to avoid running over them and eventually get attacked. if we speed up there is risk of running over them and falling off leading to injuries and sometimes attack from stray dogs.