While gold is certainly an asset class that can be considered as part of a diversified portfolio, I certainly wouldn't recommend it for someone who has a two-year time horizon and a need to access their capital at the end of the two year period.
US$ spot price of gold has increased by around 1/3 in the past two years. It's risen from below $400 ten years ago to over $1,600 now. Any asset class that has the potential for dramatic growth like this also has the potential for a dramatic fall also. I'm not saying that I believe this is imminent or likely - I don't speculate - just making the point that it's not suitable for someone with a requirement to access their savings at a fixed point in the short-term.