Pur water in a large pan. Bring liquid to a simmer over the medium-high heat. Add cherries and peaches with syrup. Reduce the heat so that the mixture barely bubbles, then cover and simmer for 10 minutes. Add sugar, mix everything and cook more for 1-2 minutes. Remove the pan from the heat and let compote cool in a pan. Pour compote with fruits in a nice glass container.