Plants are a great way to clean the aquarium water but I would still recommend water changes occasionally. Duckweed is a good plant for goldfish. Under good light the stuff grows fast and the goldfish will eat it too. Be aware that if you have a Hang-On-Back style of filter, the duckweed will tend to clog it up as the waterfall effect tends to push the duckweed down into the intake.
Some plants don't like to have their
roots left in water but I find that a good airstone keeps them happy.