Investing in an economy increases production. If productivity increases, but currency circulation remains the same (or at least doesn't outpace productivity), the value of the currency will increase. This is only one of the various modes of inflation, but that's the idea w.r.t infrastructure spending.