Why not just use INKEY$? That works fine on BASIC-80 versions 4 and 5. (I prefer V4 under CP/M, since it gives me more memory than V5.)
You can also directly talk to the serial ports by reading the ports with INP(). The emulator actually emulates a couple of different serial cards, and you can read the status and data ports the same way as on a vintage Altair system. I actually wrote a couple of little utilities in BASIC for doing just this.
This little test program will read from the first 32 input ports and display the results on the screen. You can use this to get an idea of what's happening as you play with the keyboard:
Make note of the ports that change value as you press keys. SIO ports come in pairs: the status port comes first, and the data port is next. IIRC, ports 0 and 1 are the default console port, and you should be able to read those to get information about the keyboard.
Lines 300-310 read from the serial port. Line 240 transmits to the serial port.