Problem testing for more than 1 button test

This will wait until EITHER button is pressed (assuming the input goes LOW when a button is pressed, which is normal when using INPUT_PULLUP):

while ( (digitalRead(buttonPin) == HIGH) && (digitalRead(buttonPin10) == HIGH) );