a function-definition is not allowed here before '{' problem

#include <Servo.h>

Servo servoLeft;          // Define left servo
Servo servoRight;         // Define right servo
int buttonPin = 3;
int forward();
int reverse();
void setup() { 
  servoLeft.attach(2);  // Set left servo to digital pin 2
  servoRight.attach(4);  // Set right servo to digital pin 4
} 

void loop() {            // Loop through motion tests
if(digitalRead(3)==HIGH) { 
forward();             // Example: move forward
  delay(5000);
 }
 if(digitalRead(3)==HIGH) { 
 reverse();
  delay(5000);
}

// Motion routines for forward, reverse, turns, and stop

void forward() {
  servoLeft.write(180);
  servoRight.write(180);
}
 {
void reverse()  {                      [b]This is where the error appears[/b]
  servoLeft.write(180);
  servoRight.write(180);
    }
 {

Also, I am trying to make 2 servos move at the same time when pressing the push button. Would this code work?

If you properly indent your code (use tools -> auto format in the IDE), you will probably see where you went wrong. Each function definition should start at the beginning of a line.

Using a cellphone at this moment but it looks like loop() is missing a closing }.

sterretje:
I
Using a cellphone at this moment but it looks like loop() is missing a closing }.

what do you mean?

Each { needs a friend }

void loop() 
{        //open the loop 
   if(digitalRead(3)==HIGH) 
   {        //open the if
       forward();    
       delay(5000);
   }        //close the if
   if(digitalRead(3)==HIGH) 
   {        //open the if
       reverse();
       delay(5000);
   }        //close the if
//<-- loop NOT closed. Add a }

See it now?