The Prince of Wales has driven an S Stock (sub-surface) train as part of a tour of a Bombardier factory in Derbyshire.