10-key macropad keyboard with LED indicators

You may have to spend some pins for other purposes, e.g. for the communication of the keyboard state. Also during programming the circuit attached to RX/TX must be disconnected.