Passengers have been warned to expect significant disruption on rail lines in Yorkshire during upcoming engineering work.