int Mcount=35; // and the minute count to 35.
delay(500); //I did have an lcd.print(Mcount)
}
else //if '1' isn't pressed
if (key3 == '2') { // if '2' is pressed
int Hcount=00;
int Mcount=40;
You need to read about scope rules for C/C++.
You really need to start using code tags (already noted) and use the auto format feature of the IDE