Resetting a 74xx164 on power-up
10nF capacitor down to ground. Other end to the reset line. Resistor of 10k from reset line to positive supply (Vcc). 1N4148 (or BAS16) diode across the resistor, cathode on the Vcc line. The diode type is not particularly important other than it needs to be able to handle the discharge current from the cap as the power is removed. If power is removed by a switch, there should also be a 10k across the chips power rail to ensure the cap is fully discharged before the power restarts.

Let me know if you need a circuit diagram.