There are pond-safe formulations of glyphosate which is the active ingredient in RoundUP, but that kills everything opening you up to erosion. You should try to determine what plants/weeds you want to control so you can choose a herbicide that selectively controls those plants and also is safe near ponds. 2,4-D is a herbicide that kills many herbaceous broad-leaf plants but not many grasses.