Puppetry and music will bring children’s story Pirates Love Underpants to life on stage in a Derbyshire theatre.