lcd.print then dataFile.print
You could format the data with snprintf:

char timestamp[9];
snprintf(timestamp, 9, "%02d:%02d:%02d", hour, minute, second);
dataFile.print(timestamp);
lcd.print(timestamp);


%02d in the snprintf format means "print at least 2 digits of this value and pad with leading zeros".