For example: If first Front end containing two text boxes and second one containing two text boxes. how to combine both frontend UI into one microservice?(I want output Like Iframe Tag in HTML)
There is no inbuilt way to do that.
If those 2 microservices are closely related you can make them as a single service.