Read from multiple switches?

I'm trying to do something very similar: read the status of 20 buttons. Please post what you learn, and I'll do the same.