That should work. Coffee enhances the flavor of chocolate and can give it a more complex, rich taste. Replace equal amounts of hot coffee with the water. Use decaf if needed.