Controlling two dc motor attached to arduino uno

i am a noob in coding.i am preparing a project for which require to operate a car remotely by wifi.
i have used 2 high torque dc motor by ** L298N motor control board**and using differential steering .i can get codes which i feed in arduino for movement but control are preset.i have an ESP 12e wifi module which i want to connect to arduino uno board to control the motor.
i need the program codes and the pin arrangement for doing the same .
So basically i want the code for controlling the speed and direction of motor over wifi .