this is not a supported modification to power gallery.
you would need to start by editing the galleries/ribbon_lightbox/index.php file to add the caption, but the caption will break the css layout, so you will need to modify the css for the ribbon_lightbox gallery to accommodate it. we cannot offer support for this.