Can we configure bgp with two different AS(for private and public) in a router

can we configure bgp with two different AS(for private and public) in a router…

NO!
BGP can be configured for a single AS on a router.