I am making a IR remote controlled motor but it is not working

Your sketch (without motors) "works"... but nearly every button wants to send the motors forward.