You cannot leave unused CMOS inputs floating.
Tie R (reset, active high) and EN (enable, acive low) to GND.
You can create a reset signal for startup (not too well defined but possibly useful) using the
top left circuit from this page. Conect the output signal of the reset circuit to R of the 4017 (in this case, of course, do not tie R to GND).