Arduino not responding to aketches

This part of my project consists of an object avoiding car robot. I am using IR sensors for the object detection. However, as you can see I'm stuck at the part where we actuate the motors. I have done this before which gave me confidence that it would come out fine this time too. However, there seem to be some issues regarding the power distribution. I have no idea what is going wrong or how to resolve it.