The reset for the ABS system is pressing the brake pedal 8 times inside 3 seconds. With certain ABS faults I've had to drive the car a bit to clear the fault though.
I've never experienced it myself but that code 12 seems to indicate a short circuit in the solenoid so check the wiring and connections are good too.