my first binary clock not working

If for some reason the time setting buttons are reading LOW, the minutes and hours will increment about twice a second (total of 500 mSec of delays). Make sure you have a pull-up resistor on the input pins.

  valm = digitalRead(19);    // add one minute when pressed
  if(valm== LOW) {
    minute++;
    second=0;
    delay(250);
  }
  valh = digitalRead(14);    // add one hour when pressed
  if(valh== LOW) {
    hour++;
    second=0;
    delay(250);
  }