I am usually using 74x165 for input and 74x595 for output
But you have a broad scale of output device with drivers from for ex. Allegro, Infineon, Motorola...
depends what you want .. 74164 should be fine but it is nearly impossible to get them in ls. other versions have only small current capability so it looks more reasonable and chaper then special expanders to use other avr just like port expander
If you not serious that it must be 74 or 4000 try MAX7300 it i2c expan IO with 28 IO expander. You may possible to ask them for sample .. It can be both input or output .. This may be what you need