Non è chiarissimo cosa vuoi ottenere, potresti nascondere inizialmente i due input e mostrarli quando avviene l'onchange:
codice:
<select onchange="document.getElementById('boxInput').style.display='block';">
   <option value="0">0</option>
   <option value="1">1</option>
</select>

<div id="boxInput" style="display:none;">
   <input name="input1" />
   <input name="input2" />
</div>