Use a 4x3 matrix keypad (12 keys) and a relay module.
In an era of "plug-and-play" Arduino libraries, the AT89C2051 forces you to understand how a computer works. You cannot just Serial.print() ; you have to configure the UART buffer by buffer. You cannot analogRead() ; you have to build the comparator logic. at89c2051 projects
Have a great day!