The module described here makes it possible to retrieve data from the PMOD_KYPD keyboard.
This module constantly outputs the status of the keys ('1' pressed / '0' released) as if they were 16 independent push buttons. More details are available in the comments of the module itself.