The former Chelsea boss has agreed a two-year contract to take over the Championship strugglers