Multiple input - outputs

I would be the best to use module.

A few more things. If you look at datasheet, at page 3.

Pins A0, A1 and A2 are for determinate I2C adress. It says you can connect them to Vcc or GND (picture on page 1 and 23 showing connection to GND).

Description of pins P00 to P16 is input/output - push/pull design structure.
What is meaning of push/pull?

Pull up - for get signal you connect pin to gnd?
Push down - for get signal you connect pin to Vcc?

Is this two correct?