Search for "I/O Expander" chips on digikey. These connect over SPI (best) or I2C (fine, but slower) and add another 8 or 16 GPIO ports per chip you add.

Cheers