Migrate servers involved in replication
You don't really migrate a replication topology.  You simply recreate it among the new servers.  Script out your replication configuration and re-create it among the new servers.  So backup, and restore, followed by replication setup with ordinary initialization of the subscriber from a new snapshot.

It's possible, but more complicated, to skip the initialization of the subscriber, if you can ensure that the subscription tables were synchronized at the point-in-time of the restore. See Initializing a subscription with an alternative method.

But if you have the downtime, just clean up and recreate the replication topology from scratch on the new servers.  You should script the new replication setup and test it several times before the cutover.