What do you want it to do if both switches are pushed at the same time?

Keep in mind that it is nearly impossible to push them both at the same time, one will always be first.

And are these momentary switches? And do you have pull up resistors on the switch pins (maybe a 10K going to 0 volts)?