As far as I know there are no programs (paid or otherwise) that would understand Pd2d4 Pd7d5.
I am assuming you mean moves (not annotations) and you mean it to be like this:
1. d4 d5 2. Bg5 f6
If you formatted the PGN correctly you could just copy and paste it into a program lke SCID.
I want to put the following annotations into a chess program and have the program put the pieces in the correct places when I click the Next button. Is there any free solution?
1.Pd2d4 Pd7d5
2.Bc1g5 Pf7f6
3.Bg5h4 Nb8c6
4.Ph2h3 Ng8h6
5.Bh4g3 Nh6f5
6.Bg3h2 Nf5xd4
7.Pe2e3 Nd4e6
8.Pa2a3 Pb7b6
9.Bf1b5 Bc8b7
10.Pb2b4 Pg7g6
11.Pg2g4 Bf8g7
12.Pc2c3 Ne6f8
13.Pf2f4 Pf6f5
14.Pg4xf5 Pg6xf5
15.Qd1h5+ Nf8g6
16.Bb5d3 Pe7e6
17.Ng1f3 Qd8f6
18.O-O O-O-O
19.Nf3g5 Pd5d4
20.Bd3c4 Kc8b8
21.Ng5xe6 Pd4xc3
22.Ne6xg7 Pc3c2
23.Nb1d2 Rd8xd2
24.Ng7xf5 Rh8d8
25.Ra1c1 Nc6d4
26.Nf5xd4 Rd2g2+
27.Kg1h1 Rg2g5+
28.Nd4f3 Rg5xh5
29.Rc1xc2 Rh5xh3
30.Bc4e2 Ng6h4
31.Kh1g1 Nh4xf3+
32.Be2xf3 Bb7xf3
33.Rc2f2 Qf6g6+
34.Bh2g3 Rh3xg3+