keypad and serial monitor help

I copied and pasted this example from the Arduiono website, then added the led part.
I don't program.

So what exactly causes it to not be able to blink the led and not output the number pressed at the same time?