To hook up the 12 sensors you need to multiplex the digital inputs on the Arduino board.
No this is wast full having to clock a shift register or multiplexer every time you want to read it. In this application only one sensor will be triggerd at a time and so a 74LS148 is a much better solution.