How to read more Buttons than pins avaliable?

I guess using two shift register like the 74hc595 and four buttons. But I'm a pretty NooB with electronics :blush: