Yes, it can be stored in the fridge for two days, but some rules for it that if you do not follow the paste are likely to be spoiled.
Once the pasta is ready, first separate the pasta you want to store in the fridge and let it cool completely (room temperature). Then keep it in the fridge in an air-tight container.
When serving again, take the container out of the fridge, and let the pasta back to the average temperature. Then heat it lightly in a frying pan and serve immediately.