To hook the bike up, you need something like an AC to DC Sine Wave Inverter that will handle the 110-240v to 24-36v conversion to charge the e-bike.
You can buy or have custom built battery packs made that hold a lot of charge that you can hook up and have the solar panels charge then flick a switch and turn the solar off so you can charge your bike via the battery. you might even need a voltage regulation box. Either way a good inverter can be quite costly.
I have seen someone do a similar thing by modding a transit van into a mobile home so the knowledge i have is only from what i have watched the guy do.
It is very worth paying a qualified electrician some beer money for an opinion and rough estimate of overall cost as well as for safety reasons before deciding if its really something you want to pursue otherwise you might be waiting forever to have your ebike fully charged.