How to connect a keyboard?

SPI is a bus - MISO, MOSI and CLK pins are shared, you just have to have a separate CS/SS pin for each device.