There is no direct migration supported. After migrating your Server/Data Center to Confluence Cloud, you need to install Team Files for Confluence Cloud and connect folders again.
Team Files for Confluence Cloud includes:
All the features available for Data Center and Server