H-Bridge DC Dual Motor Driver PWM Module

I’m using H-Bridge DC Dual Motor Driver PWM Module
( https://www.amazon.com/RioRand-Circuit-H-bridge-IRF3205-Arduino/dp/B00MGBD8Q4/ref=pd_sim_sbs_60_1?ie=UTF8&psc=1&refRID=87NR2JFAYJXV0ZBGP9KK)

with Arduino uno to drive two motors
(https://www.amazon.com/Summit-Titan-MOTOR-Brushed-Traxxas/dp/B011J4S63S/ref=sr_1_2?s=toys-and-games&ie=UTF8&qid=1472955945&sr=1-2&keywords=775+titan+motor).
The code I’m using is (#include <avr/interrupt.h>
#include <avr/io.h>

// Make pulse width as such that average voltage=5V
// Value 110 is experimantal…
// For testing purposes the value can be divided by two (2)
#define MOTOR_SPEED 160/2
#define MOTOR_SPEED1 160/2

const int buttonPin = 2;

int LEDPIN = 13; // Heartbeat led
int MOTOR_DIR = 8; // Non PWM pin for direction control
int MOTOR_PWM = 9; // PWM controlled pin.
int MOTOR_DIR1 = 12; // Non PWM pin for direction control
int MOTOR_PWM1 = 11; // PWM controlled pin.

int buttonState = 0;
int int_counter = 0;

// We have ~32000 Overflows per second…
// Make led pulse to show its alive (heartbeat?)
ISR(TIMER2_OVF_vect) {
int_counter += 1;
if (int_counter == 3200) {
digitalWrite(LEDPIN, LOW);
}
if (int_counter == 32000) {
int_counter = 0;
digitalWrite(LEDPIN, HIGH);
}
};

// Turn the motor left.
// If the motor needs to turn right after this call,
// use motor_stop first!
void motor_left() {
// Set the pulse width
OCR2A=MOTOR_SPEED;
// Set the directional bit to the correct value
digitalWrite(MOTOR_DIR, HIGH);
// Set output to PWM
TCCR2A |= ((1<<COM2A1) | (1<<COM2A0));
}
// Turn the motor left.
// If the motor needs to turn right after this call,
// use motor_stop first!
void motor_left1() {
// Set the pulse width
OCR2A=MOTOR_SPEED1;
// Set the directional bit to the correct value
digitalWrite(MOTOR_DIR1, HIGH);
// Set output to PWM
TCCR2A |= ((1<<COM2A1) | (1<<COM2A0));
}

// The following three commands should happen in the shortest time possible.
// TODO: So optimisation is needed!
void motor_stop() {
// Disconnect the PWM
TCCR2A &= ~((1<<COM2A1) | (1<<COM2A0));
// And put is all back to a safe ‘LOW’
digitalWrite(MOTOR_DIR, LOW);
digitalWrite(MOTOR_PWM, LOW);
}
// The following three commands should happen in the shortest time possible.
// TODO: So optimisation is needed!
void motor_stop1() {
// Disconnect the PWM
TCCR2A &= ~((1<<COM2A1) | (1<<COM2A0));
// And put is all back to a safe ‘LOW’
digitalWrite(MOTOR_DIR1, LOW);
digitalWrite(MOTOR_PWM1, LOW);
}

void setup() {
Serial.begin(9600);
CLKPR=0;

// Set the pins to output.
pinMode(buttonPin, INPUT);
pinMode(LEDPIN, OUTPUT);
pinMode(MOTOR_DIR, OUTPUT);
pinMode(MOTOR_PWM, OUTPUT);
// And set these to a initial value to make sure.
digitalWrite(MOTOR_DIR, LOW);
digitalWrite(MOTOR_PWM, LOW);
pinMode(MOTOR_DIR1, OUTPUT);
pinMode(MOTOR_PWM1, OUTPUT);
// And set these to a initial value to make sure.
digitalWrite(MOTOR_DIR1, LOW);
digitalWrite(MOTOR_PWM1, LOW);

// Use phase correct PWM Mode and set Output Compare mode
// Eventual PWM fequency will be ~30kHz, this is done to
// - minimize noise
// - minimize heat (suturation of motor → L293=RIP)
TCCR2A = (0<<WGM21) | (1<<WGM20) | (0<<COM2A1) | (0<<COM2A0) | (0<<COM2B1) | (0<<COM2B0);
TCCR2B = (0<<WGM22) | (0<<CS22) | (0<<CS21) | (1<<CS20) | (0<<FOC2A) | (0<<FOC2B);
//Timer2 Overflow Interrupt Enable for the heartbeat
TIMSK2 |= (1<<TOIE2) | (0<<OCIE2A);
//sei(); // Not needed at this moment.
}

void loop() {
buttonState = digitalRead(buttonPin);
if (buttonState == HIGH) {
{
motor_left();
}
{
motor_left1();
}

{
Serial.print("buttonState = ");
Serial.println(buttonState);
}
}else {
{
motor_stop();
}
{
motor_stop1();
}

{
Serial.print("buttonState = ");
Serial.println(buttonState);
delay(1000);
}
}
})
as soon as I add power to arduino it turns the two motors on then they stop. When they stop only one motor works. can anyone help with getting the two motors to work at the same time and I need to set the speed to start slow then get to speed. I’m using 12V to power motor and 9V to power arduino.
Is there a easier code to use?
Or does this code be tweeked?

can anyone help with getting the two motors to work at the same time

Look at the code for motor_left() and motor_left1(). Why are you diddling with the same timer in each function?

You have WAY too many curly braces in loop(). Get rid of the useless ones, and it may become obvious what the problem is.