I am trying to use pushbuttons to control two motors

Thanks for telling. Do You have any problem and a question?
Read this link: How to get the best out of this forum - Using Arduino / Project Guidance - Arduino Forum