Try pressing F10 and check if it solves your issue.
Otherwise if you're trying to press Z (or whatever button you have set as the left key) and Left Mouse Button or X (or whatever button you have set as the right key) and Right Mouse Button at the same time, you can't press both at the same time as they count as the same key