Basically, you have 32 states from your 5-bit value. And you have 14-segments (two 7-segment displays). For each of those segments you need to determine for which of the the 32 states they should be active. For example, the lower left segment of your low digit will be active for the following values: 0,2,6,8,10,12,16,18,20,22,26,28,30; the center segment of the low digit will be active for : 2,3,4,5,6,7,9,12,13,14,15,16,17,19,22,23,24,25,26,27,29. And so on. Can you see this getting ugly?
Here's a solution: CD4026. It's a counter with a 7-segment output. You can cascade two of these to get your two digit outputs. There are also binary-to-bcd converters out there if you can't use the counter function.
Good luck.