Apply a bit of solder to all of the pins on each button. This will make attaching the wires to the pins easier.