A set of steam engines which have stood idle for 26 years are now ready to be back in action.