Floodwaters continue to rise across two states