How to setup two PSTN sip on one FreePBX ? And how to route?

To use different outbound routes for different extensions, use commercial COS module or the CallerID field in dial patterns as described here:

I don’t understand your question about inbound route.
An inbound route points to whatever you want it to.
Extension, IVR, etc.