The most important thing is to check your water quality, especially ammonia and nitrite levels. Guppies jumping around like crazy at night is usually a sign that something's wrong in the tank. Stagnant water or water that's loaded with waste drives them completely nuts and they try to escape. I'd say it's pretty common in stressed fish, but it's always a warning sign you shouldn't ignore.
Also check your filter - if it's not powerful enough or if it's clogged, it creates dead zones in the tank where oxygen is lacking. Guppies love that for breathing and if it's not enough at night when everything's calm, they panic and try to get out. How many guppies do you have and what's the volume of your tank? It's possible they're just overcrowded, which creates stress. Even with a lid, you need little air gaps - maybe your lid is too airtight and that adds extra pressure.
Then jumping behavior also happens when there are potential predators at night (another aggressive fish) or just bad temperature. Guppies prefer between 22 and 26 degrees. Do a proper water test if you can, or at least do a partial water change every week. Often just a few regular water changes are enough to calm them down already.