I have a dataframe which looks like this :

```
    Date        Train        Station        Time        ID

0  02.10.2020   Flixtrain    London         10:40       1
1  02.10.2020   Flixtrain    Berlin         20:30       1
2  02.10.2020   Flixtrain    Hamburg        23:45       1
3  02.10.2020   VSOE         Amesterdam     21:30       2
4  02.10.2020   VSOE         Cologne        00:50       2
5  02.10.2020   VSOE         Berlin         04:30       2
6  02.10.2020   ICE-220      Warschau       12:35       3
7  02.10.2020   ICE-220      Breslau        17:40       3
8  02.10.2020   ICE-220      Prag           23:13       3
9  02.10.2020   ICE-342      Wien           00:35       4
7  02.10.2020   ICE-342      Salzburg       07:42       4
8  02.10.2020   ICE-342      Munich         13:13       4

```

What I want to do is to change the date where the time passes 24:00, but only for those rows with the same value in "ID" and "Train". The date for the rows after should remain the same.

what I expect is this :

```
    Date        Train        Station        Time        ID

0  02.10.2020   Flixtrain    London         10:40       1
1  02.10.2020   Flixtrain    Berlin         20:30       1
2  02.10.2020   Flixtrain    Hamburg        23:45       1
3  02.10.2020   VSOE         Amesterdam     21:30       2
4  03.10.2020   VSOE         Cologne        00:50       2
5  03.10.2020   VSOE         Berlin         04:30       2
6  02.10.2020   ICE-220      Warschau       12:35       3
7  02.10.2020   ICE-220      Breslau        17:40       3
8  02.10.2020   ICE-220      Prag           23:13       3
9  02.10.2020   ICE-342      Wien           00:35       4
7  02.10.2020   ICE-342      Salzburg       07:42       4
8  02.10.2020   ICE-342      Munich         13:13       4

```

Is it possible to do that?Any help will be appreciated.
Many thanks