Sure, that can be done. But, it can be a bit complicated.

It's next to impossible to hit both buttons at exactly the same time. So, you have to put in some kind of time delay. If you detect 1 button press, wait a certain amount of time to see if another one is also pressed, otherwise just go with the first one as a single press.

Of course, this means the program is Stopped while waiting to see if a second button is pressed. That can be a bit annoying with a perceived delay after each key press. It'll make things feel a bit sluggish. If you try to make it faster, the person pressing the buttons may not get the second button down fast enough, causing the program to do the wrong thing.

If you limit the double keypress to only work with one button, maybe it's labeled "Function" or something. Then the program only has to wait for the second button if the "Function" button is pressed first. Otherwise it just accepts the single button immediately, without the delay problem.

Food for thought.

Best regards,
   Darrel