Help with Enemies dropping bombs

Ok, my objective is to have enemies come into the frame from left and right at the top of the screen and at random times between entering and leaving the screen, drop a bomb, once the bombs drops from the enemy I need it to explode when it hits the floor, or hits another object. I’ve been searching everywhere for help on this code. Can someone please me on this? Thanks!