Genesis 41:32

32 The reason the dream was given to Pharaoh in two forms is that the matter has been firmly decided by God, and God will do it soon.

Read Genesis 41:32 Using Other Translations

And for that the dream was doubled unto Pharaoh twice; it is because the thing is established by God, and God will shortly bring it to pass.
And the doubling of Pharaoh's dream means that the thing is fixed by God, and God will shortly bring it about.
As for having two similar dreams, it means that these events have been decreed by God, and he will soon make them happen.