Are the LEDs very faint when they're on?
(ledPin1, OUTPUT); // LED 1 is an output
(ledPin2, OUTPUT); // LED 2 is an output
(buttonPin1 , INPUT); // BUTTON 1 is an input
(buttonPin2 , INPUT); // BUTTON 2 is an input
It shouldn't be running correctly. You're missing some function names there.