Can I change the pins for scl and sda

They are defined by the MCU. The Wire library default is to use the pins in the Arduino board definition that you selected for compiling and uploading.

There are several different software I2C libraries for Arduino, which can make use any available digital pins. A web search will find them.