Insert the springs in the same way they were removed.
Then insert the pins. It can be tricky to get the pin through the holes in the second pad especially if the pad is in the caliper a bit too far. It can help to use an allen key or something similarly long and slender to align the pads.
Then, simply chase the allen key out with the pin.