Keighley Cougars have appointed former Swinton Lions head coach Alan Kilshaw with immediate effect on a deal until the end of the 2026 season.