For multiple inputs you can look at analog switches (e.g. MAX312 and equivalents). These will require a few additional parts to guarantee the power-up conditions (e.g. pull-ups or pull-downs on control lines).